package server

import (
	"fmt"
	"server/pkg/cron/constant"
)

type PostPool struct {
	constant.CornRegisterServiceParamBase
}

func (p *PostPool) GetCorn() string {
	// 每周5晚上8点
	return "0 20 * * 5"
}

func (p *PostPool) Run() {
	fmt.Println("PostPool", "ping")
}
